.container {
  margin-bottom: 0;

  button {
    &:hover {
      path {
        fill: theme('colors.primary');
      }

      circle {
        fill: theme('colors.primary');
      }
    }
  }
}

.upload-title {
  position: relative;
  height: 22px;
  line-height: 22px;
  font-size: 14px;
  margin-top: -12px;
  color: theme('colors.gray.primary');
  text-transform: capitalize;
  margin-bottom: 2px;

  button {
    position: absolute;
    right: 0;
    font-size: 12px;
    height: 22px;
    line-height: 22px;
    padding-right: 0;
  }
}

.upload-text-placeholder {
  font-size: 16px;
  height: 24px;
  line-height: 24px;
  margin-left: 8px;
  color: theme('colors.disable');
}

.uploaded-info {
  display: flex;
  border: 1px solid #d9d9d9;
  padding: 8px;
  align-items: center;
  column-gap: 8px;

  .uploaded-image {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(0 0 0 / 6%);

    img {
      max-width: 48px;
      max-height: 48px;
    }
  }

  .uploaded-image-name {
    color: rgb(0 0 0 / 85%);
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .uploaded-image-btns {
    display: flex;

    button {
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    svg {
      width: 14px;
      height: 14px;
      color: rgb(0 0 0 / 45%);
    }
  }
}
